tpl.detail ='	<div class="detail-row">' + 
'		<div id="detail-block">' + 
'			<div class="top-side-content">' + 
'				<div class="thumbnail-left">' + 
'					{{#progress}}{{#dataBagId}}<img class="thumb" src="{{databagURL}}/bag/{{dataBagId}}/thumbnail/96" style="width:96px;height:96px">{{/dataBagId}}{{/progress}}' + 
'					{{^progress}}' + 
'					<i class="{{fileClass}}96"></i>' + 
'					{{/progress}}' + 
'				</div>' + 
'				<div class="thumbnail-right">' + 
'					<div><h4 title="{{name}}{{#extension}}.{{/extension}}{{extension}}">{{name}}{{#extension}}.{{/extension}}{{extension}}</h4></div>' + 
'					<div style="color:#A3A3A3">owner:' + 
'						{{#owner.name}}{{owner.name}}{{/owner.name}}' + 
'						{{^owner.name}}{{owner.email}}{{/owner.name}}' + 
'					</div>' + 
'					{{#btn}}' + 
'						<a class="btn btn-small" href="#!databag/{{name}}/{{dataBagId}}/{{extension}}/{{location}}">预览</a>' + 
'					{{/btn}}' + 
'				</div>' + 
'			</div>' + 
'		</div>' + 
'<div class="divider-detail"></div>'+
'		<div id="version-block">' + 
'			<div class="mid-side-content">' + 
'				<div class="version-head">' + 
'					<h4>版本信息</h4>' + 
'				</div>' + 
'				<div class="version-content">' + 
'					{{#revisions}}' + 
'						<div class="version-row">' + 
'							<div class="detail-version">版本{{revisionNumber}}</div>' + 
'							<div class="detail-size">{{fileSize}}</div>' + 
'							<div class="detail-timestamp">{{timestamp}}</div>' + 
'							<div class="detail-btn">'+
	'							<div class="detail-download"><a href="download?id={{fileId}}&amp;revision={{revisionNumber}}" class="btn btn-mini dl-btn">下载</a></div>' + 
	'							{{#btn}}' + 
	'								{{#dataBagId}}' + 
	'									<div class="detail-download"><a class="btn btn-mini pre-btn" href="#!databag/{{name}}/{{dataBagId}}/{{extension}}/{{location}}">预览</a></div>' + 
	'								{{/dataBagId}}' + 
	'							{{/btn}}' + 
	'							{{^del}}' + 
	'								<div class="detail-download"><a href="#" class="btn btn-mini del-btn" id="{{id}}">删除</a></div>' + 
	'							{{/del}}' + 
	'						</div>'+
'						</div>' + 
'					{{/revisions}}' + 
'				</div>' + 
'			</div>' + 
'		</div>' + 
'<div class="divider-detail"></div>'+
'		<div id="activity-block">' +
'			<div class="mid-side-content">' + 
'				<div class="version-head">' + 
'					<h4>动态</h4>' + 
'                    <div id="activity-content"></div>     '+
'				</div>' + 
'			</div>' + 
'		</div>'+
'	</div>' ;
